/*
 * @Author       : 许警
 * @Date         : 2024-06-20 11:40:32
 * @LastEditors: 许警 11378748333@
 * @LastEditTime: 2024-07-09 13:51:32
 * @FilePath     : /src/views/business/certification/recovered/data.js
 * @Description  :
 */
/*
 * @Author: 许警 11378748333@
 * @Date: 2024-03-22 13:04:11
 * @LastEditors: 许警 11378748333@
 * @LastEditTime: 2024-03-29 09:27:45
 * @FilePath: /hsxlsystem/src/views/business/huifang/user_evaluate/data.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const columnsArr = [
  {
    title: '护工ID',
    dataIndex: 'id',
    className: 'table',
    align: 'center'
  },
  {
    title: '姓名',
    dataIndex: 'realName',
    className: 'table',
    align: 'center'
  },
  {
    title: '手机号',
    dataIndex: 'mobile',
    className: 'table',
    align: 'center'
  },
  {
    title: '职称',
    dataIndex: 'care',
    className: 'table',
    align: 'center',
    slots: {
      customRender: 'care'
    }
  },
  {
    title: '申请时间',
    dataIndex: 'createdAt',
    className: 'table',
    align: 'center',
    sort: true
  },
  {
    title: '地理位置',
    dataIndex: 'address',
    className: 'table',
    align: 'center',
    ellipsis: true
  },
  {
    title: '状态',
    dataIndex: 'status',
    className: 'table',
    align: 'center',
    slots: {
      customRender: 'status'
    }
  },
  {
    title: '操作',
    dataIndex: 'operation',
    className: 'table',
    align: 'center',
    fixed: 'right',
    slots: {
      customRender: 'operation'
    }
  }
]

export const dataObj = {
  nurseStatusColor: {
    2: 'success',
    1: '#f50',
    3: 'error'
  },
  nurseStatus: {
    1: '待审核',
    2: '已认证',
    3: '未通过'
  },
  number: '',
  detailVisible: false,
  isEdit: '', //查看审核
  id: '', //认证
  labelCol: {
    style: {
      fontWeight: 'bolder'
    }
  },
  form: {},
  time: [],
  statusAct: 0,
  statusList: [
    {
      title: '全部',
      status: 0,
      subStatus: 0
    },
    {
      title: '待审核',
      status: [1, 2],
      subStatus: 1
    },
    {
      title: '已认证',
      status: [2],
      subStatus: 2
    },
    {
      title: '未通过',
      status: [3],
      subStatus: 3
    }
  ]
}
